package com.aspose.cells;

class zfl implements zafq {
   static zfl a = new zfl();

   public boolean a(int var1, Object var2, int var3, Object var4) {
      switch(var1) {
      case 0:
         switch(var3) {
         case 0:
            return false;
         case 1:
            return this.a((Double)var4);
         case 2:
         case 3:
         case 5:
         default:
            return true;
         case 4:
            return ((String)var4).length() > 0;
         case 6:
            return this.a(zavz.a((Integer)var4));
         }
      case 1:
         switch(var3) {
         case 0:
            return this.a((Double)var2);
         case 1:
            return this.a((Double)var2, (Double)var4);
         case 6:
            return this.a((Double)var2, zavz.a((Integer)var4));
         default:
            return true;
         }
      case 2:
      case 3:
      case 5:
      default:
         return var1 != var3 || !var2.equals(var4);
      case 4:
         if (var3 == 4) {
            return !((String)var2).equals((String)var4);
         }

         return true;
      case 6:
         switch(var3) {
         case 0:
            return this.a(zavz.a((Integer)var2));
         case 1:
            return this.a(zavz.a((Integer)var2), (Double)var4);
         case 6:
            return (Integer)var2 != (Integer)var4;
         default:
            return true;
         }
      }
   }

   protected boolean a(double var1, double var3) {
      return zfc.b(var1) != zfc.b(var3);
   }

   protected boolean a(double var1) {
      return zfc.b(var1) != 0.0D;
   }

   static void a(int var0, Object var1, StringBuilder var2) {
      switch(var0) {
      case 0:
         var2.append("Null");
         return;
      case 1:
         var2.append("Double-");
         break;
      case 2:
         var2.append("Boolean-");
         break;
      case 3:
         zyz.a((Byte)var1).a(var2, (zaay)null);
         return;
      case 4:
         var2.append("String-");
         break;
      case 5:
      default:
         var2.append("Unknown-");
         break;
      case 6:
         var2.append("Double-");
         var2.append(zavz.a((Integer)var1));
         return;
      }

      var2.append(var1);
   }
}
